/**
 * Created by yudongyang on 2016/4/1 10:22.
 * mail: yudongyang@kehaoinfo.com
 **/

package com.wujie.activies.service;

import java.util.List;

/**
 * Created by yudongyang on 2016/4/1.
 */
public interface IBaseService<T> {

    List<T> getAll();

    int deleteByPrimaryKey(Integer key);

    T getByPrimaryKey(Integer key);

    List<T> getByInstance(T ele);

    int updateByPrimaryKey(T ele);

    int insertSelective(T ele);
}
